Smush\Core\Integrations\S3 D

Total Complexity 247
Dependencies 7
Dependents 1
Total lines 1,521
Lines of code 724
Logical lines of code 406
Comment lines 651
Methods 41
Properties 5

Methods 41

Method Rating Maintainability Complexity Lines of code
update_original_source_path()
B
38 24 60
download_file()
B
41 17 53
remove_file()
A
45 15 39
maybe_active_smush_mode()
A
54 14 18
maybe_release_smush_mode()
A
49 13 28
does_image_exists()
A
46 12 37
show_s3_support_required_notice()
A
44 11 43
maybe_add_missing_files_to_the_list()
A
52 12 23
s3_setup_message()
A
44 9 49
get_s3_filter_class()
S
53 7 25
filter_unique_filename()
S
53 7 21
maybe_remove_downloaded_files()
S
62 7 12
__construct()
S
55 6 19
get_attached_file()
S
57 6 18
is_png2jpg_backup_file()
S
57 6 15
file_exists_on_s3()
S
59 5 16
remove_sizes_from_s3_upload()
S
61 5 12
activate_smush_mode()
S
61 5 11
remove_missing_files_to_avoid_error_log_from_s3()
S
62 5 11
temp_disable_s3_file_filter()
S
58 4 17
get_provider_client()
S
58 4 16
s3_support_required()
S
67 5 7
revert_s3_file_filter()
S
59 4 15
copy_provider_file_to_server()
S
60 4 13
is_attachment_served_by_provider()
S
61 4 13
delete_objects()
S
57 3 17
is_active()
S
68 4 7
get_object_key()
S
61 3 12
init()
S
54 2 20
release_smush_mode()
S
68 3 7
is_image_on_s3()
S
65 3 10
enable_private_media()
S
74 3 4
add_pro_tag()
S
65 3 10
add_file_to_remove()
S
70 3 6
register()
S
58 1 17
setting_status()
S
79 2 3
update_original_source_path_after_png2jpg()
S
73 2 5
maybe_download_file()
S
79 1 3
get_raw_attached_file()
S
70 1 6
maybe_remove_sizes_from_s3_upload()
S
78 1 3
update_original_source_path_after_restore_png()
S
79 1 3